﻿<UserControl x:Class="SLMapViewerDemo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sl="clr-namespace:Gaiocorp.SLMapViewer;assembly=SLMapviewer"
    mc:Ignorable="d"
    d:DesignHeight="900" d:DesignWidth="800">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="900"></RowDefinition>
            <RowDefinition Height="300"></RowDefinition>
        </Grid.RowDefinitions>
        
        <sl:MapControl x:Name="slMap1" HorizontalAlignment="Left" VerticalAlignment="Top"></sl:MapControl>
        <StackPanel Orientation="Horizontal" Grid.Row="1">
            <StackPanel Margin="5">
                <TextBlock Text="Lat"  Margin="5" Width="150"></TextBlock>
                <TextBox x:Name="txtLat" Width="150"  Height="24" HorizontalAlignment="Left"></TextBox>
            </StackPanel>
            <StackPanel Margin="5">
                <TextBlock Text="txtLon"  Margin="5" Width="150"></TextBlock>
                <TextBox x:Name="txtLon" Width="150"  Height="24" HorizontalAlignment="Left"></TextBox>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
